package io.kiki.stack.http.feign.SpringMvcContract;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;


@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface FeignClient {


    @AliasFor("value") String name() default "";


    Class<?>[] configuration() default {};


    /**
     * @return path prefix to be used by all method-level mappings.
     */
    String path() default "";

    /**
     * @return an absolute URL or resolvable hostname (the protocol is optional).
     */
    String url() default "";

}
